#ifndef FACEVIEW_H
#define FACEVIEW_H
#include <QtGui>
#include "SuperApi.h"
#include "FaceBtn.h"

class CFaceView : public QFrame
	,public CSuperApiHandler
{
	Q_OBJECT
public:
	CFaceView(QWidget* parent=0);
	~CFaceView(void);


protected:
	void UpdateCtrl();
	virtual void OnLineComming(int);
	virtual void OnApiAdded(CSuperApi* pApi);

protected slots:
	void OnBtnClicked();
	void OnAddApi();

private:
	QList<CFaceBtn*> m_listBtn;
	QGridLayout* m_pGridLayout;
};

#endif //FACEVIEW_H